package com.model.dto.base.repairUser;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * TODO
 *
 * @Description
 * @Author tm
 * @Date 2023-09-09 15:45
 **/
@Data
public class GetUserListDTO {
    @ApiModelProperty(value = "page必须是正整数")
    @Range(min = 0, message = "page必须是正整数")
    private int page = 1;

    @ApiModelProperty(value = "pageSize必须是正整数")
    @Range(min = 0, message = "pageSize必须是正整数")
    private int pageSize = 10;

    @ApiModelProperty(value = "开始日期")
    private String startTime;
    @ApiModelProperty(value = "结束日期")
    private String endTime;

    @ApiModelProperty(value = "姓名")
    private String userName;
}
